package visualInterface;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class VisualGames {
	JLabel homeTeam = new JLabel("Steaua");
	JLabel awayTeam = new JLabel("Rapid");

	JLabel halfTimeInit = new JLabel("(");
	JLabel halfTimeEnd = new JLabel(")");

	JLabel separator1 = new JLabel("-");
	JLabel separator2 = new JLabel(":");
	JLabel separator3 = new JLabel("-");
	JLabel separator4 = new JLabel("-");

	JTextField homeTeamGoal = new JTextField();
	JTextField awayTeamGoal = new JTextField();
	JTextField halfTimeHomeTeamGoal = new JTextField();
	JTextField halfTimeAwayTeamGoal = new JTextField();

	JButton detailsButton = new JButton("+");

	public VisualGames() {
		homeTeam.setPreferredSize(new Dimension(80, 20));
		awayTeam.setPreferredSize(new Dimension(80, 20));
		homeTeam.setBackground(Color.WHITE);
		homeTeam.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		awayTeam.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		separator1.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		separator2.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		separator3.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		separator4.setFont(new Font("TimesNewRoman", Font.BOLD, 18));
		// homeTeamGoal.setOpaque(false);
		homeTeamGoal.setBorder(BorderFactory.createEtchedBorder(0));
		homeTeamGoal.setPreferredSize(new Dimension(20, 20));

		// /awayTeamGoal.setOpaque(false);
		awayTeamGoal.setBorder(BorderFactory.createEtchedBorder(0));
		awayTeamGoal.setPreferredSize(new Dimension(20, 20));

		// halfTimeHomeTeamGoal.setOpaque(false);
		halfTimeHomeTeamGoal.setBorder(BorderFactory.createEtchedBorder(0));
		halfTimeHomeTeamGoal.setPreferredSize(new Dimension(20, 20));

		// halfTimeAwayTeamGoal.setOpaque(false);
		halfTimeAwayTeamGoal.setBorder(BorderFactory.createEtchedBorder(0));
		halfTimeAwayTeamGoal.setPreferredSize(new Dimension(20, 20));

	}
}